.. _EEex_GetActorIDSelected: =================================== EEex_GetActorIDSelected =================================== :: EEex_GetActorIDSelected() Returns actor id of currently selected character **Parameters** None **Return** Returns the actor id of currently selected character or ``0`` **Notes** Reads: * :ref:`CBaldurChitin`.m_pObjectGame (m_pObjectGame is :ref:`CInfGame`\*) * :ref:`CInfGame`.m_group (m_group is :ref:`CAIGroup`\*) * :ref:`CAIGroup`.m_memberList (m_memberList is :ref:`CTypedPtrList`\*) * :ref:`CTypedPtrList`.m_cPtrList (m_cPtrList is :ref:`CPtrList`\*) * :ref:`CPtrList`.m_pNodeHead (m_pNodeHead is :ref:`CPtrList\:\:CNode`\*) If m_pNodeHead is not ``0`` then reads :ref:`CPtrList\:\:CNode`.data and returns the value as actor id otherwise returns ``0`` **Example** :: EEex_GetActorIDSelected() **See Also** :ref:`EEex_GetAllActorIDSelected`, :ref:`EEex_GetActorIDShare`, :ref:`EEex_IterateActorIDs`